package com.cs.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class WinningResultsSupplier{
    String hName;
    String ywName;
    String ywPhone;
    String ywMailBox;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date gsResDate;

    @Override
    public String toString() {
        return "WinningResultsSupplier{" +
                "hName='" + hName + '\'' +
                ", ywName='" + ywName + '\'' +
                ", ywPhone='" + ywPhone + '\'' +
                ", ywMailBox='" + ywMailBox + '\'' +
                ", gsResDate=" + gsResDate +
                '}';
    }

    public WinningResultsSupplier() {
    }

    public WinningResultsSupplier(String hName, String ywName, String ywPhone, String ywMailBox, Date gsResDate) {
        this.hName = hName;
        this.ywName = ywName;
        this.ywPhone = ywPhone;
        this.ywMailBox = ywMailBox;
        this.gsResDate = gsResDate;
    }

    public String gethName() {
        return hName;
    }

    public void sethName(String hName) {
        this.hName = hName;
    }

    public String getYwName() {
        return ywName;
    }

    public void setYwName(String ywName) {
        this.ywName = ywName;
    }

    public String getYwPhone() {
        return ywPhone;
    }

    public void setYwPhone(String ywPhone) {
        this.ywPhone = ywPhone;
    }

    public String getYwMailBox() {
        return ywMailBox;
    }

    public void setYwMailBox(String ywMailBox) {
        this.ywMailBox = ywMailBox;
    }

    public Date getGsResDate() {
        return gsResDate;
    }

    public void setGsResDate(Date gsResDate) {
        this.gsResDate = gsResDate;
    }
}